#pragma once

#include "shape.h"

namespace g2 {

class circle : public shape {
public:
	circle(const vector & center, double radius);
	double radius() const;
	void radius(double);
public:
	virtual region flatten(double h) const;
	virtual vector center() const;
	virtual box bounds() const;
	virtual void translate(const vector &);
	virtual void rotate(const vector & center, double angle);
private:
	vector	_center;
	double	_radius;
};

} // g2
